package com.gis3c.sys.dao;

import com.gis3c.sys.entry.po.Dictionary;

import java.util.List;

/**
 * Created by hukekuan on 2018/2/6.
 */
public interface DictionaryDao {
    List<Dictionary> findDictionarysByType(String dictType);
    List<Dictionary> findDictionarysByPage(String dictType, int pageSize, int currentPage);
    Dictionary findDictionaryById(String dictId);
    List<Dictionary> findDictionarysByParent(String parentId);

    public Integer insertDictionary(Dictionary dictionary);
    public Integer deleteDictionaryById(String dictId);
    public Integer deleteDictionaryByType(String dictType);
    public Integer deleteDictionaryByParent(String parentIdId);
}
